home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / devel-docs / libgimp / sgml / gimpchannelops.sgml < prev    next >
Encoding:
Text File  |  2003-05-20  |  4.1 KB  |  111 lines

  1. <refentry id="libgimp-gimpchannelops" revision="19 Jan 2001">
  2. <refmeta>
  3. <refentrytitle>gimpchannelops</refentrytitle>
  4. <manvolnum>3</manvolnum>
  5. <refmiscinfo>LIBGIMP Library</refmiscinfo>
  6. </refmeta>
  7.  
  8. <refnamediv>
  9. <refname>gimpchannelops</refname><refpurpose></refpurpose>
  10. </refnamediv>
  11.  
  12. <refsynopsisdiv><title>Synopsis</title>
  13. <synopsis>
  14.  
  15.  
  16.  
  17. <link linkend="gboolean">gboolean</link>    <link linkend="gimp-channel-ops-offset">gimp_channel_ops_offset</link>         (<link linkend="gint32">gint32</link> drawable_ID,
  18.                                              <link linkend="gboolean">gboolean</link> wrap_around,
  19.                                              <link linkend="GimpChannelOffsetType">GimpChannelOffsetType</link> fill_type,
  20.                                              <link linkend="gint">gint</link> offset_x,
  21.                                              <link linkend="gint">gint</link> offset_y);
  22. <link linkend="gint32">gint32</link>      <link linkend="gimp-channel-ops-duplicate">gimp_channel_ops_duplicate</link>      (<link linkend="gint32">gint32</link> image_ID);
  23. </synopsis>
  24. </refsynopsisdiv>
  25.  
  26.  
  27.  
  28.  
  29.  
  30. <refsect1>
  31. <title>Description</title>
  32. <para>
  33.  
  34. </para>
  35. </refsect1>
  36.  
  37. <refsect1>
  38. <title>Details</title>
  39. <refsect2>
  40. <title><anchor id="gimp-channel-ops-offset">gimp_channel_ops_offset ()</title>
  41. <programlisting><link linkend="gboolean">gboolean</link>    gimp_channel_ops_offset         (<link linkend="gint32">gint32</link> drawable_ID,
  42.                                              <link linkend="gboolean">gboolean</link> wrap_around,
  43.                                              <link linkend="GimpChannelOffsetType">GimpChannelOffsetType</link> fill_type,
  44.                                              <link linkend="gint">gint</link> offset_x,
  45.                                              <link linkend="gint">gint</link> offset_y);</programlisting>
  46. <para>
  47. Offset the drawable by the specified amounts in the X and Y
  48. directions
  49. </para>
  50. <para>
  51. This procedure offsets the specified drawable by the amounts
  52. specified by 'offset_x' and 'offset_y'. If 'wrap_around' is set to
  53. TRUE, then portions of the drawable which are offset out of bounds
  54. are wrapped around. Alternatively, the undefined regions of the
  55. drawable can be filled with transparency or the background color, as
  56. specified by the 'fill_type' parameter.</para>
  57. <para>
  58.  
  59. </para><informaltable pgwide=1 frame="none" role="params">
  60. <tgroup cols="2">
  61. <colspec colwidth="2*">
  62. <colspec colwidth="8*">
  63. <tbody>
  64. <row><entry align="right"><parameter>drawable_ID</parameter> :</entry>
  65. <entry> The drawable to offset.
  66. </entry></row>
  67. <row><entry align="right"><parameter>wrap_around</parameter> :</entry>
  68. <entry> wrap image around or fill vacated regions.
  69. </entry></row>
  70. <row><entry align="right"><parameter>fill_type</parameter> :</entry>
  71. <entry> fill vacated regions of drawable with background or transparent.
  72. </entry></row>
  73. <row><entry align="right"><parameter>offset_x</parameter> :</entry>
  74. <entry> offset by this amount in X direction.
  75. </entry></row>
  76. <row><entry align="right"><parameter>offset_y</parameter> :</entry>
  77. <entry> offset by this amount in Y direction.
  78. </entry></row>
  79. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
  80. </entry></row>
  81. </tbody></tgroup></informaltable></refsect2>
  82. <refsect2>
  83. <title><anchor id="gimp-channel-ops-duplicate">gimp_channel_ops_duplicate ()</title>
  84. <programlisting><link linkend="gint32">gint32</link>      gimp_channel_ops_duplicate      (<link linkend="gint32">gint32</link> image_ID);</programlisting>
  85. <para>
  86. Duplicate the specified image
  87. </para>
  88. <para>
  89. This procedure duplicates the specified image, copying all layers,
  90. channels, and image information.</para>
  91. <para>
  92.  
  93. </para><informaltable pgwide=1 frame="none" role="params">
  94. <tgroup cols="2">
  95. <colspec colwidth="2*">
  96. <colspec colwidth="8*">
  97. <tbody>
  98. <row><entry align="right"><parameter>image_ID</parameter> :</entry>
  99. <entry> The image.
  100. </entry></row>
  101. <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The new, duplicated image.
  102. </entry></row>
  103. </tbody></tgroup></informaltable></refsect2>
  104.  
  105. </refsect1>
  106.  
  107.  
  108.  
  109.  
  110. </refentry>
  111.